package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* Created by Mybatis Generator on 2023/12/18
*/
@Data
@Table(name = "tbl_member_card")
@NoArgsConstructor
@AllArgsConstructor
public class TblMemberCard extends BaseEntity {
    private String code;

    @Column(name = "mem_id")
    private String memId;

    @Column(name = "request_transaction_uuid")
    private String requestTransactionUuid;

    @Column(name = "transaction_id")
    private String transactionId;

    @Column(name = "payment_token")
    private String paymentToken;

    @Column(name = "request_card_number_last4")
    private String requestCardNumberLast4;

    @Column(name = "request_reference_number")
    private String requestReferenceNumber;

    @Column(name = "is_default")
    private Integer isDefault;

    @Column(name = "request_card_type")
    private String requestCardType;

    @Column(name = "request_card_expiry_date")
    private String requestCardExpiryDate;

    private String bin;

    @Column(name = "paypal_email")
    private String paypalEmail;

    /**
     * 通过paypal添加时修改为1
     */
    @Column(name = "from_paypal_gateway")
    @ApiModelProperty("通过paypal添加时修改为1")
    private Integer fromPaypalGateway;
}